﻿
using System;

namespace Xc.DataAccess.CodeReader.Models.Filters
{
    /// <summary>
    /// 处理器特性
    /// </summary>
    public class FilterAttribute:Attribute
    {
        public FilterAttribute(string processName, FilterType filterType)
        {
            ProcessName = processName;
            FilterType = filterType;
        }

        /// <summary>
        /// 处理器名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 过滤器类型
        /// </summary>
        public FilterType FilterType { get; set; }
    }
}
